package com.godofgamblers.hotelmanagementsystem.service.imp;

import com.godofgamblers.hotelmanagementsystem.mapper.TestMapper;
import com.godofgamblers.hotelmanagementsystem.pojo.Room_Type;
import com.godofgamblers.hotelmanagementsystem.service.TestService;
import lombok.Data;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author wzx
 * @date 2019/10/14 - 22:40
 */
@Data
@Transactional
@Service
public class TestServiceImp implements TestService {
    @Resource
    private TestMapper testMapper;
    @Override
    public List<Room_Type> allType() {
        return testMapper.allType();
    }
}
